package com.kayt.cyberBar.log.business.server;

import java.util.List;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.common.base.BaseVO;
import com.kayt.cyberBar.log.business.entity.po.SLogBusiness;
import com.kayt.cyberBar.log.business.entity.vo.LogBusinessVO;
import com.kayt.cyberBar.log.business.entity.vo.LogQueryVO;

public interface ILogBusinessServer {

	public void saveLog(BaseVO base, String cyberCode, String objCode, String objName, String type, String result);

	public void batchDelete(List<SLogBusiness> list);

	public int delete(List<SLogBusiness> list);

	public PageData<SLogBusiness> getLogList(LogQueryVO query);

	public ServerResponse<LogBusinessVO> assemble_result(SLogBusiness log);

	public ServerResponse<PageData<LogBusinessVO>> assemble_result_list(PageData<SLogBusiness> logData);

	public ServerResponse<String> assemble_result_string(int result);

}
